home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Texteditors / Origami / Sources / Configfile next >
Text File  |  1996-09-26  |  2KB  |  113 lines

  1. #{{{  m4 rules
  2. #used during m4-run
  3. #}}}
  4. #{{{  default and paths
  5. default:    all
  6.  
  7. SCRIPT_DIR=    /tmp_mnt/home/hadig/Export/origami/scripts
  8.  
  9. TERMINFO_DIR=    terminfo_dir_name
  10. TERMCAP_DIR=    termcap_dir_name
  11.  
  12. BIN_PATH=    /home/hadig/binsun4
  13. ORIGAMI_PATH=    /home/hadig/origami
  14. ACCESS_ORIGAMI_PATH=    /home/hadig/origami
  15. MAN_PATH=    $(ORIGAMI_PATH)/man
  16. #HACK_PATH=
  17. ORIGAMI_RC_PATH=.:~:$(ACCESS_ORIGAMI_PATH)
  18. KBD_LIB_PATH=    .:$(ACCESS_ORIGAMI_PATH)/bindings/fun:$(ACCESS_ORIGAMI_PATH)/bindings
  19.  
  20. BINDSOURCEINSTALL=real_ocl_install
  21. BINDRCINSTALL=    realbindinstall
  22. MAN_INSTALL_TARGET= man_install cat_install
  23. #}}}
  24. #{{{  os independent files/cpp-switches
  25. #{{{  additional files
  26. LIB_CONFIG_ADDS=     bregex.o
  27. ORI_CONFIG_ADDS=    scrbuff.o
  28.  
  29. #}}}
  30. #{{{  ori flags
  31. ORI_CONFIG_FLAGS=    $(LIB_CPP_FLAGS) \
  32.  \
  33.  -DREGEXP -DRE_CONF -DREG_COMP_BUFF=4 \
  34.  \
  35.  -DUSE_SCRBUFF \
  36.  -DSW_MSG \
  37.   \
  38.  -DORIGAMI_RC_PATH=\"$(ORIGAMI_RC_PATH)\" \
  39.  -DKBD_PATH=\"$(KBD_LIB_PATH)\" \
  40.  -DDOC_MSG=\"$(ACCESS_ORIGAMI_PATH)\"
  41. #}}}
  42. #{{{  docs
  43. DOCS=        manual.ascii.Z intro.ascii
  44. #}}}
  45. #}}}
  46. #{{{  os dependent compiler rules/variables
  47. #{{{  linux
  48. #not used
  49. #}}}
  50. #{{{  sunos
  51. DIRNAME=    dirname
  52. BASENAME=    basename
  53. AR=        ar qc
  54. RANLIB=    ranlib
  55. CC=        gcc
  56. LD=        gcc
  57. GEN_DEPEND=    $(CC) $(CPPFLAGS) -MM *.c >>dependencies
  58. AWK=        gawk
  59. M4=        /usr/5bin/m4
  60. BIN_INSTALL=    install -s -c
  61. DIR_INSTALL=    install -d
  62. FILE_INSTALL=    install -c
  63. CPPFLAGS=      \
  64.  -I.. \
  65.   \
  66.  -DPOSIX_SOURCE \
  67.  -DSTRERROR_MIS \
  68.   \
  69.  -DUSLEEP_MIS -D_POSIX_SOURCE -D_POSIX_PATH_MAX=255 -D`mach` \
  70.   \
  71.   \
  72.  -DMAIL_SENDMAIL=\"/usr/lib/sendmail\" \
  73.  -DFILEC \
  74.  -DXTERM \
  75.  -DRC_BUFFER_SIZE=8192 \
  76.  -DMAC_BUFF_SIZE=8192 \
  77.  -DDIREDT -DDIREDT_PATH=\"/home/hadig/binsun4\" \
  78.  $(ORI_CONFIG_FLAGS)
  79. CFLAGS=    -O2 -Wall $(CPPFLAGS)
  80. LDFLAGS=       
  81. ADD_LIB_FILES= $(LIB_CONFIG_ADDS) strerror.o
  82. ADD_ORI_FILES=    $(ORI_CONFIG_ADDS)
  83. ADD_DIRFOLD_FILES=
  84. ADD_AUTO_FILES=
  85. TERMCAP_LIBS=    -ltermcap
  86. LIBS=    
  87. KEYBINDFLAGS=    
  88. TERMINALS=    xterm 'sun' 'hp' 'hpterm' vt100 vt102 vt200 vt220
  89. lint_test:
  90.         @echo "no lint possible";exit 1;
  91.  
  92. #}}}
  93. #{{{  hpux
  94. #not used
  95. #}}}
  96. #{{{  sni s600-20 uxpm
  97. #not used
  98. #}}}
  99. #{{{  dec_alpha_axp_osf_1
  100. #not used
  101. #}}}
  102. #{{{  maybe use a special ansi2kr filter
  103. #not used
  104. #}}}
  105. #}}}
  106. #{{{  check common files
  107. dummy_target:
  108. $(COMMON_HDRS) $(COMMON_OBJS) ../lib/orilib.a:
  109.         @cd $(@D);$(MAKE) $(@F)
  110. check_common:
  111.         @for i in $(COMMON_HDRS) $(COMMON_OBJS) dummy_target; do cd `$(DIRNAME) $$i`;$(MAKE) `$(BASENAME) $$i`; done
  112. #}}}
  113.